<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */

$cakeDescription = __d('cake_dev', 'Sistema de Inscripcion Kennel Club Boliviano');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php echo $cakeDescription ?>:
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $this->Html->meta('icon');

		echo $this->Html->css(array('style','custom'));
		echo $this->Html->script(array('jquery','ui','sheepIt','dataTables','chosen','timepicker', 'print'));
		echo $this->fetch('meta');
		echo $this->fetch('css');
        echo $this->fetch('script');
	?>
	
</head>
<body>
<?php $current= $this->here;?>
	<div id="height-wrapper">
		<header>
				<!-- Begin of the header toolbar -->
				<div id="header_toolbar">
					<div class="container_12">
						<h1 class="grid_8">Sistema Kennel Club Bolivia <?php echo $current;?></h1>
						<!-- Start of right part -->
						<div class="grid_4">
							
							
							<!-- A large toolbar button -->
							<div class="toolbar_large">
								<div class="toolbutton">
									<div class="toolicon">
										<?php echo $this->Html->image('icons/16x16/user.png');?>
									</div>
									<div class="toolmenu">
										<div class="toolcaption">
											<span>NOMBRE</span>
										</div>
										<!-- Start of menu -->
										<div class="dropdown">
											<ul>
												<li>
													<a href="#">Configuracion</a>
												</li>
												<li>
													<?php echo $this->html->link('Salir',array('controller'=>'usuarios','action'=>'salir'))?>
												</li>
											</ul>
										</div> <!-- End of menu -->
									</div>
								</div>
							</div> <!-- End of large toolbar button -->
						</div>
						<!-- End of right part -->
					</div>
				</div>
				<!-- End of the header toolbar -->
				
				<!-- Start of the main header bar -->
				<nav id="header_main">
					<div class="container_12">
						<!-- Start of the main navigation -->
						<ul id="nav_main">
							<li <?php if($current == '/principal'):?>class= "current"<?php endif;?>>
								<a href="#">
								<?php echo $this->Html->image('icons/25x25/dark/computer-imac.png');?>
								Inicio</a>
								<ul>
									<li <?php if($current == '/principal'):?>class = "current"<?php endif;?>>
										<a href="dashboard.html">Dashboard</a>
									</li>
									<li>
										<a href="404.html">404</a>
									</li>
									<li>
										<a href="login.html">Login</a>
									</li>
								</ul>
							</li>
							<li <?php if($current == '/Denunciaservicio'):?>class= "current"<?php endif;?>>
								<a href="#">
								<?php echo $this->Html->image('icons/25x25/dark/blocks---images.png');?>
								Servicios</a>
								<ul>
									<li <?php if($current == '/Denunciaservicio'):?>class= "current"<?php endif;?>>
										<?php echo $this->Html->link('Denuncias de Servicio',array('controller'=>'Denunciaservicio','action'=>'index'))?>
									</li>
									<li>
										<?php echo $this->Html->link('Mascotas', array('controller'=>'Mascotas', 'action'=>'index'));?>
									</li>
									<li>
										<?php echo $this->Html->link('Criaderos', array('controller'=>'Criaderos', 'action'=>'index'));?>
									</li>
									<li>
										<?php echo $this->Html->link('Propietarios', array('controller'=>'Propietarios', 'action'=>'index'));?>
									</li>
									<li>
										<a href="tabs.html">Tabs</a>
									</li>
									<li class="last-child">
										<a href="wizard.html">Wizard</a>
									</li>
								</ul>
							</li>
							<li <?php if($current == '/Usuarios' or $current == '/Usuarios/insertar'):?>class= "current"<?php endif;?>>
								<a href="#">
								<?php echo $this->Html->image('icons/25x25/dark/user-comment.png');?>
								Usuarios</a>
								<ul>
									<li <?php if($current == '/Usuarios'):?>class= "current"<?php endif;?>>
									<?php echo $this->Html->link('Lista de Usuarios',array('controller'=>'Usuarios','action'=>'index'))?>
									</li>
									<li>
									<?php echo $this->Html->link('Tipo de Usuarios',array('controller'=>'Usuarios','action'=>'tipousuarios'))?>
									</li>
								</ul>
							</li>
							<li>
								<a href="#">
								<?php echo $this->Html->image('icons/25x25/dark/robot.png');?>
								Plugins</a>
								<ul>
									<li>
										<a href="charts.html">Charts</a>
									</li>
									<li>
										<a href="calendar.html">Calendar</a>
									</li>
									<li>
										<a href="explorer.html">Explorer</a>
									</li>
									<li>
										<a href="editor.html">Rich Text Editor</a>
									</li>
									<li>
										<a href="tooltips.html">Tooltips</a>
									</li>
								</ul>
							</li>
						</ul>
						<!-- End of the main navigation -->
					</div>
				</nav>
				<div id="nav_sub"></div>
			</header>
		<div id="content">

<aside>
					<div id="sidebar_top">
						<div class="userinfo">
							<div class="info">
								<div class="avatar">
								<?php echo $this->Html->image('sprites/userinfo/avatar.png');?>

								</div>
								<a href="#">3 Messages</a>
							</div>
							<ul class="links">
								<li>
									<strong><a href="#">Administrator</a></strong>
								</li>
								<li>
									<a href="#">Settings</a>
								</li>
								<li>
									<a href="#">Logout</a>
								</li>
							</ul>
							<div class="clear"></div>
						</div>
					</div>
					<div id="sidebar_content">
						<h2>Information</h2>
						<p>
							Lorem ipsum dolor sit amet,
							consectetur adipisicing elit, sed do
							eiusmod tempor incididunt ut labore
							et dolore magna aliqua.
						</p>
						<div class="divider"></div>
						<nav>
							<ul class="menu collapsible">
								<li class="first-child current">
									<a href="#">State: current</a>
								</li>
								<li>
									<a href="#">State: normal</a>
									<ul class="sub">
										<li>
											<a href="#">State: normal</a>
										</li>
										<li>
											<a href="#">State: normal</a>
										</li>
										<li>
											<a href="#">State: normal</a>
										</li>
									</ul>
								</li>
								<li>
									<a href="#">State: normal</a>
								</li>
								<li class="last-child">
									<a href="#">State: normal</a>
								</li>
							</ul>
						</nav>
					</div>
				</aside><!-- End of the sidebar-->

			<?php echo $this->Session->flash(); ?>

			<?php echo $this->fetch('content'); ?>
		</div>
		<?php echo $this->Html->script('script.js')?>
		<!-- Start of footer-->
		<footer>
			<div class="container_12">
				Copyright &copy; 2012 Kennel Club Boliviano, Todos los Derechos Reservados.
				<div id="button_bar">
					<ul>
						<li>
							<span><a href="dashboard.html">Inicio</a></span>
						</li>
					</ul>
				</div>
			</div>
		</footer><!-- End of footer-->
	</div>
	<?php //echo $this->element('sql_dump'); ?>
</body>
</html>
